package factory.simpleFactory;

/**
 * 汽车类
 *
 * @author 若雨成霜
 * @Created with IDEA
 */

public class Car extends Transport {
    /**
     * 描述信息
     */
    @Override
    public void desc() {
        System.out.println("我是汽车!");
    }

    /**
     * 具体实现操作
     */
    @Override
    public void doSomething() {
        System.out.println("我最多可搭载4个乘客!");
    }
}
